package com.woniu.backparking.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 投诉表
 * </p>
 *
 * @author HashSong
 * @since 2021-07-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("p_complaint")
public class Complaint implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "complaint_id", type = IdType.AUTO)
    private Integer complaintId;

    /**
     * 订单id
     */
    private String orderId;

    /**
     * 投诉内容
     */
    private String reson;

    /**
     * 投诉结果
     */
    private String result;

    //处理人（处理管理员
    private String adminName;

    //处理状态
    private int messageState;
    /**
     * 记录添加时间
     */
    private LocalDateTime rawAddTime;

    /**
     * 记录更新时间
     */
    private LocalDateTime rawUpdateTime;

    private Order order;

}
